Skip to content

fix(sip-core,sip-types,sip-ua): make URI and param comparisons spec-compliant - #85

Open
mntns wants to merge 3 commits into
kbalt:mainfrom
mntns:fix/registration-contact-case-comparison
Open

mntns wants to merge 3 commits into
kbalt:mainfrom
mntns:fix/registration-contact-case-comparison

Conversation

@mntns

@mntns mntns commented Nov 18, 2026

Copy link
Copy Markdown

This PR contains two changes: One includes a comparison of SIP URIs that is compliant with the relevant RFC section. The other changes makes the lookup of URI parameters case-insensitive.

Niklas Kunz added 3 commits November 17, 2026 14:33
Use the matching Contact's expires parameter to determine the granted registration lifetime, falling back to Expires when absent.

Also refresh bindings halfway through their lifetime instead of applying the previous 10 seconds margin.
Compare hostnames case-insensitively and account for URI parameters
and embedded headers using RFC 3261 comparison rules.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant